home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / Developer Essentials Jul 90 / Programming / MPW Interfaces & Libraries 3.1 / PInterfaces / ROMDefs.p < prev    next >
Encoding:
Text File  |  1989-10-13  |  2.5 KB  |  88 lines  |  [TEXT/MPS ]

  1. {
  2. Created: Tuesday, August 2, 1988 at 10:09 AM
  3.     ROMDefs.p
  4.     Pascal Interface to the Macintosh Libraries
  5.  
  6.     Copyright Apple Computer, Inc.    1986-1988
  7.     All rights reserved
  8. }
  9.  
  10.  
  11. {$IFC UNDEFINED UsingIncludes}
  12. {$SETC UsingIncludes := 0}
  13. {$ENDC}
  14.  
  15. {$IFC NOT UsingIncludes}
  16.     UNIT ROMDefs;
  17.     INTERFACE
  18. {$ENDC}
  19.  
  20. {$IFC UNDEFINED UsingROMDefs}
  21. {$SETC UsingROMDefs := 1}
  22.  
  23.  
  24. CONST
  25. appleFormat = 1;                        {Format of Declaration Data (IEEE will assign real value)}
  26. romRevision = 1;                        {Revision of Declaration Data Format}
  27. testPattern = 1519594439;                {FHeader long word test pattern}
  28. sCodeRev = 2;                            {Revision of code (For sExec)}
  29. sCPU68000 = 1;                            {CPU type = 68000}
  30. sCPU68020 = 2;                            {CPU type = 68020}
  31. sMacOS68000 = 1;                        {Mac OS, CPU type = 68000}
  32. board = 0;                                {Board sResource - Required on all boards}
  33. displayVideoAppleTFB = 16843009;        {Video with Apple parameters for TFB card.}
  34. displayVideoAppleGM = 16843010;         {Video with Apple parameters for GM card.}
  35. networkEtherNetApple3Com = 33620225;    {Ethernet with apple parameters for 3-Comm card.}
  36. testSimpleAppleAny = -2147417856;        {A simple test sResource.}
  37. endOfList = 255;                        {End of list}
  38. defaultTO = 100;                        {100 retries.}
  39. sRsrcType = 1;                            {Type of sResource}
  40. sRsrcName = 2;                            {Name of sResource}
  41. sRsrcIcon = 3;                            {Icon}
  42. sRsrcDrvrDir = 4;                        {Driver directory}
  43. sRsrcLoadDir = 5;                        {Load directory}
  44. sRsrcBootRec = 6;                        {sBoot record}
  45. sRsrcFlags = 7;                         {sResource Flags}
  46. sMacOS68020 = 2;                        {Mac OS, CPU type = 68020}
  47. sRsrcHWDevId = 8;                        {Hardware Device Id}
  48. minorBaseOS = 10;                        {Offset to base of sResource in minor space.}
  49. minorLength = 11;
  50. majorBaseOS = 12;                        {Offset to base of sResource in Major space.}
  51. majorLength = 13;
  52. sDRVRDir = 16;                            {sDriver directory}
  53. drSwApple = 1;
  54. drHwTFB = 1;
  55. drHw3Com = 1;
  56. drHwBSC = 3;
  57. catBoard = 1;
  58. catTest = 2;
  59. catDisplay = 3;
  60. catNetwork = 4;
  61. boardId = 32;                            {Board Id}
  62. pRAMInitData = 33;                        {sPRAM init data}
  63. primaryInit = 34;                        {Primary init record}
  64. timeOutConst = 35;                        {Time out constant}
  65. vendorInfo = 36;                        {Vendor information List. See Vendor List, below}
  66. boardFlags = 37;                        {Board Flags}
  67. vendorId = 1;                            {Vendor Id}
  68. serialNum = 2;                            {Serial number}
  69. revLevel = 3;                            {Revision level}
  70. partNum = 4;                            {Part number}
  71. date = 5;                                {Last revision date of the card}
  72. typeBoard = 0;
  73. typeApple = 1;
  74. typeVideo = 1;
  75. typeEtherNet = 1;
  76. testByte = 32;                            {Test byte.}
  77. testWord = 33;                            {0021}
  78. testLong = 34;                            {Test Long.}
  79. testString = 35;                        {Test String.}
  80.  
  81.  
  82. {$ENDC}    { UsingROMDefs }
  83.  
  84. {$IFC NOT UsingIncludes}
  85.     END.
  86. {$ENDC}
  87.  
  88.